<?php


namespace app\controller;


class Address
{
     public function index($id = 3){
         return 'index:'.$id;
     }
     public function details($id,$status=5){
         return '详情id:'.$id.' $status='.$status;
     }
    public function search($id,$uid){
        return '详情id:'.$id.';详情uid:'.$uid;
    }
     public function url(){
         return url('Address/details',['id'=>5]);
     }
     public function aTest($id){
         return '测试id:'.$id.'1111111';
     }
     public function aTest1($name){
         return 'you name is '.$name;
     }
     public function cTest($id,$uid){
         return '测试id:'.$id.';测试uid:'.$uid;
     }
     public function miss(){
         return '404！！！！！！！！！！！！！';
     }

     public function read($id){
         return 'id:'.$id;
     }
}